package org.wk.core.common.view;

import java.util.List;

/**
* @ClassName	: PageVo
* @Package		：com.lbs.core.view
* @Author mars mars@labsport.cn
* @Create Time	：2016年8月12日 上午10:43:12
* @Description	: 前台分页实体
* @param <T>
*/ 
public class PageVo<T> {
	/** 
	* Field :pageNo
	* Type :Integer
	* Description: 页面数
	*/
	private Integer pageNo;
	/** 
	* Field :pageSize
	* Type :Integer
	* Description: 页面的总行数
	*/
	private Integer pageSize;
	/** 
	* Field :total
	* Type :Long
	* Description: 总行数
	*/
	private Long total;
	/**
	 * 总页数
	 */
	private int totalPages;
	/** 
	* Field :result
	* Type :List<T>
	* Description: 分页结果
	*/
	private List<T> result;
	/** 
	* Field :content
	* Type :String
	* Description: 查询条件
	*/
	private String content;
	/** 
	* Field :token
	* Type :String
	* Description: 
	*/
	private String token;
	
	public Integer getPageNo() {
		return pageNo;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}
	public List<T> getResult() {
		return result;
	}
	public void setResult(List<T> result) {
		this.result = result;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}

	public int getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}
}
